<!DOCTYPE HTML><html lang="en-US"><head>	<meta charset="UTF-8">	<link rel="stylesheet" href="css/normalize.css" />	<link rel="stylesheet" href="css/event-style.css" />	<script type="text/javascript" src="js/jquery-1.7.1.js"></script>	<title>Events Part 2</title>	<style type="text/css">		ul { margin-left:20px; color:blue; }	    li { cursor:default; }	    span { color:red; }	</style></head><body>	<nav id="menu">		<div>			<label for="firstname">Firstname</label>			<input type="text" name="firstname" />		</div>		<div>			<label for="lastname">Lastname</label>			<input type="text" name="lastanme" />		</div>		<div>			<label for="email">Email</label>			<input type="text" name="email" />		</div>		<div>			<label for="country">Coutry</label>			<select name="country" id="country">
				<option value="Cambodia">Cambodia kh</option>
				<option value="VN">Vietnam VN</option>
				<option value="Th">Th</option>
				<option value="Loas">Loas</option>
				<option value="MY">MY</option>
			</select>		</div>		<div id="country_list">			<ol>							</ol>		</div>		<ul id="hover">
			<li>Home</li>
			<li>Product</li>
			<li>Service</li>
			<li>				Contact				<span> ***</span>				<span> ***</span>				<span> ***</span>			</li>
		</ul>			</nav>	<script type="text/javascript">		$(document).ready(function(){				$('#country').change(function() {					//alert($(this).val());					console.log($(this).val());					var country = $(this).val();					$('#country_list > ol').append('<li>' + country + '</li>');									});								/*$('input[name="firstname"]').focus(function() {					console.log($(this).attr('name'));				});*/								$('input[name="firstname"]').focusin(function() {					console.log($(this).attr('name'));				});				$('input[name="email"]').focusout(function() {					alert($(this).val());				});				//hover event				$("#hover li").hover(				  function () {					$(this).append($("<span> ***</span>"));				  }, 				  function () {					$(this).find("span:last").remove();				  }				);		});	</script></body></html>